home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
201-225
/
disk_222
/
plplot
/
src
/
source.zoo
/
movwor.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-05-15
|
333b
|
22 lines
/* MOVE AND DRAW ROUTINES IN WORLD COORDINATES */
/* Move to world coordinates (x,y) */
#include "plplot.h"
void movwor(x,y)
float x,y;
{
scurr(wcpcx(x),wcpcy(y));
}
/* Draws to world coordinates (x,y) */
void drawor(x,y)
float x,y;
{
int currx, curry;
gcurr(&currx,&curry);
pllclp(currx,curry,wcpcx(x),wcpcy(y));
}